/**
 * 
 */
package service;

import java.util.List;

import utils.Page;

import model.Administrator;
import model.Door;
import model.Message;
import model.User;

/**
 * 
 * @author yalin
 * 
 */
public interface SecurityService {
	// Door

	public Door getDoorByID(String doorID);

	public void updateDoor(Door door, Administrator admin);

	public void updateAll();

	public Page loadPagedLogs(Page page, SecurityQueryHelper helper);

	public Page loadPagedMsgs(Page page, SecurityQueryHelper helper);

	public List<Door> loadAllDoor();

	public Message getMsgByID(Integer msg_ID);

	public void updateMsg(Message msg);

}
